let routes = [
  {
    path: '/',
    name: 'Main',
    component: resolve => require(['@/views/Main'], resolve),
    children: [
      {
        path: '/article',
        name: '文章管理',
        show: true,
        component: resolve => require(['@/views/container'], resolve),
        meta: '',
        iconCls: '',
        children: [
          {
            path: '/article/list',
            component: resolve => require(['@/views/article/article'], resolve),
            show: true,
            name: '文章列表'
          }, {
            path: '/article/add',
            component: resolve => require(['@/views/article/articleDetail'], resolve),
            show: false,
            name: '增加文章'
          }
        ]
      },
      {
        path: '/tag',
        name: '标签管理',
        show: true,
        meta: '',
        component: resolve => require(['@/views/container'], resolve),
        iconCls: '',
        children: [
          {
            path: '/tag/list',
            component: resolve => require(['@/views/tag/tag'], resolve),
            show: true,
            name: '标签列表'
          }
        ]
      },
      {
        path: '/href',
        name: '链接管理',
        show: true,
        meta: '',
        component: resolve => require(['@/views/container'], resolve),
        iconCls: '',
        children: [
          {
            path: '/href/list',
            component: resolve => require(['@/views/link/link'], resolve),
            show: true,
            name: '链接列表'
          }
        ]
      },
      {
        path: '/group',
        name: '分组管理',
        show: true,
        meta: '',
        component: resolve => require(['@/views/container'], resolve),
        iconCls: '',
        children: [
          {
            path: '/group/list',
            component: resolve => require(['@/views/group/group'], resolve),
            show: true,
            name: '分组管理'
          }
        ]
      },
      {
        path: '/Info',
        name: '个人信息管理',
        show: true,
        component: resolve => require(['@/views/container'], resolve),
        meta: '',
        iconCls: '',
        children: [
          {
            path: '/Info/read',
            component: resolve => require(['@/views/Info/preview'], resolve),
            show: true,
            name: '个人信息查看'
          }, {
            path: '/Info/basic',
            component: resolve => require(['@/views/Info/edit'], resolve),
            show: true,
            name: '基本信息修改'
          }, {
            path: '/Info/main',
            component: resolve => require(['@/views/Info/about'], resolve),
            show: true,
            name: '关于页面修改'
          }
        ]
      }
    ]
  }, {
    path: '/hello',
    name: 'HelloWorld',
    component: resolve => require(['@/components/HelloWorld'], resolve)
  },
  {
    path: '/logIn',
    name: 'logIn',
    component: resolve => require(['@/views/login'], resolve)
  }
]
export default routes
